﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH5_2011A.Domain
{
    /// <summary>
    /// SPU表
    /// </summary>
    [Table("tb_product_spu")]
    public class ProductSpuModel:AuditField<Guid>
    {
        /// <summary>
        /// 
        /// </summary>
        [Display(Name="编码")]
        public string? Code { get;set; }


        [Display(Name = "名称")]
        public string? Name { get; set; }


        [Display(Name = "品牌")]
        public Guid? BrandId { get; set; }


        [Display(Name = "分类")]
        public Guid? CategoryId { get; set; }


        [Display(Name = "店铺")]
        public Guid? StoreId { get; set; }

        //从左到右，第1位：推荐，第2位：新品，第3位：特价，第4位：秒杀。第5位：待扩展。。。。
        //1000000
        //1100000
        //1010000

        [Display(Name = "标识位")]
        public string? Flag { get; set; } = "00000000";


        
    }
}
